﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jayden.Dll.ECMAScript
{
	public class Boolean : Expression
	{
		public static readonly Boolean True = new Boolean(true);
		public static readonly Boolean False = new Boolean(false);

		private bool m_Value;
		private Boolean(bool value) { m_Value = value; }



		public void RenderExpression(StringBuilder builder)
		{
			if (m_Value)
				builder.Append("true");
			else
				builder.Append("false");
		}
	}
}
